package com.handyshop.mall.dubbo.commodity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.handyshop.mall.dubbo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel(value = "商品审批类目白名单")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "nrs_cat_white_list")
public class CatWhiteList extends BaseEntity {
    /**
     * 系统id
     */
    @TableField(value = "system_id")
    @ApiModelProperty(value = "系统id")
    private Long systemId;

    /**
     * 组织id
     */
    @TableField(value = "org_id")
    @ApiModelProperty(value = "组织id")
    private Long orgId;

    /**
     * 商家id
     */
    @TableField(value = "merchant_id")
    @ApiModelProperty(value = "商家id")
    private Long merchantId;

    /**
     * 类目id
     */
    @TableField(value = "cat_id")
    @ApiModelProperty(value = "类目id")
    private Long catId;

    public static final String COL_ID = "id";

    public static final String COL_SYSTEM_ID = "system_id";

    public static final String COL_ORG_ID = "org_id";

    public static final String COL_MERCHANT_ID = "merchant_id";

    public static final String COL_CAT_ID = "cat_id";

    public static final String COL_DELETE_FLAG = "delete_flag";

    public static final String COL_CREATOR_ID = "creator_id";

    public static final String COL_CREATOR = "creator";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";
}